<template>
  <div>
    <div id="positionnav" class="loc2">
      <div class="container">
        <div id="position">
          您的位置：<router-link :to="{ name: 'Home' }">
            {{ $t("nav_home") }}</router-link
          ><i class="fa fa-angle-right"></i>
          <router-link :to="{ name: 'Laboratory' }"> {{ $t("nav_laboratory") }}</router-link>
        </div>
        <div class="rynav">
          <ul>
            <li>
              <router-link :to="{ name: 'Laboratory' }" class="sel">
                {{ $t("nav_laboratory") }}</router-link
              >
            </li>
          </ul>
        </div>
      </div>
    </div>
    <div class="clearfix"></div>
    <con-detail :detailId="detailId"></con-detail>
  </div>
</template>
<script>
import content from '@/components/content/content.vue'

export default {
  components: {
    'con-detail': content
  },
  data() {
    return {
      detailId: ''
    }
  },
  mounted() {
    this.detailId = this.$route.query.id.toString() || ''
  },
}
</script>
<style scoped>
#ny-banner {
  width: 100%;
  overflow: hidden;
}
.ny-banner-box {
  width: 100%;
  position: relative;
}

.ny-banner-box > img {
  width: 100%;
}
.teamimg img {
  max-height: 250px;
}

#positionnav {
  margin-top: 40px;
}
#positionnav .container {
  position: relative;
}
.rynav {
  position: relative;
  width: 100%;
  height: 32px;
  z-index: 8;
  margin-top: 8px;
}
.rynav ul {
  margin-left: -5px;
  margin-right: -5px;
}
.rynav li {
  padding-left: 5px;
  padding-right: 5px;
  float: left;
}
.rynav li a {
  height: 32px;
  display: inline-block;
  padding: 0px 20px;
  transition: all 0.3s ease-out 0s;
  position: relative;
  color: #737373;
}
.rynav li a.sel {
  color: #233876;
}
.rynav li a:hover {
  color: #233876;
}
#position {
  width: 300px;
  z-index: 10;
  font-size: 12px;
  display: block;
  position: absolute;
  right: 15px;
  text-align: right;
  top: 8px;
}

#position a {
  color: #999;
}
#position i {
  margin: 0 10px;
  color: #6f6f6f;
}
#position .container > a:last-child {
  color: #233876;
}

#positionnav.loc2 {
  margin-top: 0;
  background-color: #f7f7f7;
  height: 49px;
  line-height: 35px;
}

@media (max-width: 1024px) {
  #positionnav {
    margin-top: 5px;
  }
  #position {
    position: relative;
    width: 100%;
    display: block;
    right: 0;
  }
  .rynav {
    position: relative;
    width: 100%;
    display: block;
    margin-top: 22px;
  }
  .rynav li {
    margin-bottom: 3px;
  }
}
</style>
<style scope>
.category_title {
  width: 100%;
  text-align: center;
}

.category_title h2 {
  color: #233876;
  font-size: 22px;
  font-weight: normal;
}

.category_title h3 {
  color: #aaa;
  font-size: 14px;
  font-weight: normal;
}

/* .rypage h1 {
  font-size: 17px;
  line-height: 30px;
  position: relative;
  color: #303030;
  width: 100%;
  display: block;
  text-align: center;
  padding: 0px 0 30px;
  border-bottom: 1px solid #e5e5e5;
}

.body {
  padding-top: 40px;
  margin-bottom: 60px;
  color: #999;
}

.rypage h1 p {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  font-family: HELVETICANEUELTPRO-THEX, Arial;
  letter-spacing: 1px;
}

@media screen and (max-width: 480px) {
  .body img {
    max-width: 80%;
  }
} */
</style>